package com.ruoyi.oos.duty.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮值班次信息对象 oos_duty_classes
 * 
 * @author bulang
 * @date 2020-04-28
 */
public class DutyClasses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 轮值规则id */
    @Excel(name = "轮值规则id")
    private Integer dutyId;

    /** 班次名称 */
    @Excel(name = "班次名称")
    private String name;

    /** 时间 */
    @Excel(name = "时间")
    private String time;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderno;

        public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
        public void setDutyId(Integer dutyId)
    {
        this.dutyId = dutyId;
    }

    public Integer getDutyId() 
    {
        return dutyId;
    }
        public void setName(String name)
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
        public void setTime(String time)
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }
        public void setOrderno(Integer orderno)
    {
        this.orderno = orderno;
    }

    public Integer getOrderno() 
    {
        return orderno;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        
        .append("id", getId())
        
        .append("dutyId", getDutyId())
        
        .append("name", getName())
        
        .append("time", getTime())
        
        .append("orderno", getOrderno())
            .toString();
    }
}
